-- GENERATED SPELL FOR [En'kilah Ghoul] --


function spell0_25393(pUnit, Event) --@Flesh Rip,n/a--
pUnit:FullCastSpellOnTarget(38056,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25393', 15000, 1)
end

function Sorts_25393(pUnit, Event)
local choix_sorts_25393 = math.random(0, 0)
if choix_sorts_25393 == 0 then
pUnit:RegisterEvent('spell0_25393', 1, 1)
end
end

function mob25393_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25393', math.random(1500, 3000), 1)
end

function mob25393_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25393_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25393_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25393, 1, 'mob25393_Action')
RegisterUnitEvent(25393, 2, 'mob25393_Leave')
RegisterUnitEvent(25393, 3, 'mob25393_Kill')
RegisterUnitEvent(25393, 4, 'mob25393_Die')
